﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PPAPTasksEdit.aspx.cs" Inherits="PPAP.Web.Part.PPAPTasksEdit" %>
<%@ Register TagPrefix="cc1" Namespace="PPAP.WebControls" Assembly="PPAP.WebControls" %>
<%@ Register TagPrefix="bbit" Namespace="Beyondbit.CService.WebControls" Assembly="Beyondbit.CService.WebControls" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head >
    <title></title>
   <style type="text/css">
    .xixi1
        {
          
            line-height: 27px;
            width: 346px;
            height: 27px;
            cursor: pointer;
        }
        .xixi2
        {
            
            line-height: 27px;
            width: 346px;
            height: 27px;
            cursor: pointer;
        }
        .tab1
        {
            text-align: center;
            line-height: 27px;
            width: 115px;
            float: left;
            height: 27px;
            cursor: pointer;
            font-weight:100;
            color:Black;
        }
        .tab2
        {
            text-align: center;
            line-height: 27px;
            width: 115px;
            float: left;
            height: 27px;
            color: #ffffff;
            cursor: pointer;
            font-weight:bolder;
            color:Blue;
        }
   </style>
</head>
<body  style="font-family: Arial, Helvetica, sans-serif;" >
    <form id="form1" runat="server">
    <div>
     <table style="width: 936px; height: auto; margin-top: 10px; margin-bottom: 10px;">
        <tr>
            <td>
                <div>
                    <div id="divhid">
                        <input id="fujianID" type="hidden" runat="server" />
                        <input id="hidden_isreturn" type="hidden" runat="server" />
                    </div>
                    <div class="tab" style="text-align: left">
                        <div id="bg" class="xixi1">
                            <div id="font1" class="tab1" onclick="setTab03Syn(1);document.getElementById('bg').className='xixi1'">
                                Part Infomation</div>
                            <div id="font2" class="tab2" onclick="setTab03Syn(2);document.getElementById('bg').className='xixi2'">
                                Upload Attachments</div>
                        </div>
                        <div id="TabTab03Con1">
                            <hr />
                            <div align="center">
                                <div>
                                    <div id="wwwzzjsnet_zzjs_1">
                                        <table border="0" cellpadding="0" cellspacing="2" width="100%">
                                            <tr>
                                                <td>
                                                    <table class="main-table1" border="0" width="100%" cellspacing="1" cellpadding="1"
                                                        align="right">
                                                        <tr class="bttn">
                                                            <td height="20" class="outset-table">
                                                                <img src="../Images/ico_arrow.gif" width="16" height="12" border="0" alt="" />Part 
                                                                Info
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td nowrap="nowrap">
                                                                <table id="GridTable" cellspacing="1" cellpadding="1" width="100%" border="0">
                                                                    <tr>
                                                                        <td>
                                                                            <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" style="border-collapse: collapse;">
                                     
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        Supplier Code</td>
                                                                                    <td height="25" align="left">
                                                                                        <input id="SupplierCode" type="text" runat="server" readonly="readonly" /></td>
                                                                                    <td height="25" align="left">
                                                                                        Supplier Name</td>
                                                                                    <td height="25" align="left">
                                                                                        <input id="SupplierName" type="text" runat="server" readonly="readonly" /></td>
                                                                                </tr>
                                     
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        BDNT Part No.
                                                                                    </td>
                                                                                    <td height="25" align="left">
                                                                                        <input id="BDNTPartNo" type="text" runat="server" readonly="readonly" />
                                                                                    </td>
                                                                                    <td height="25" align="left">
                                                                                        BDNT Part Name
                                                                                    </td>
                                                                                    <td height="25" align="left">
                                                                                        <input id="BDNTPartName" type="text" runat="server" readonly="readonly" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        Part Color
                                                                                    </td>
                                                                                    <td height="25" align="left">
                                                                                        <input id="PartColor" type="text" runat="server" readonly="readonly" />&nbsp;&nbsp;
                                                                                    </td>
                                                                                    <td height="25" align="left">
                                                                                        Submission Level
                                                                                    </td>
                                                                                    <td height="25" align="left">
                                                                                        <input id="SubmissionLevel" type="text" runat="server" readonly="readonly" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        Create Date
                                                                                    </td>
                                                                                    <td height="25" align="left">
                                                                                        <input id="CreateDate" type="text" runat="server" readonly="readonly" />&nbsp;&nbsp;
                                                                                    </td>
                                                                                    <td height="25" align="left">
                                                                                        Create Person</td>
                                                                                    <td height="25" align="left">
                                                                                        <input id="CreateUser" type="text" runat="server" readonly="readonly" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        E level
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        &nbsp;
                                                                                        <asp:CheckBox ID="ELevel" runat="server" Enabled="False" />
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        Q level
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        &nbsp;<asp:CheckBox ID="QLevel" runat="server" Enabled="False" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        Planned-ISIR Date
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="PlannedISIRDate" type="text" runat="server" readonly="readonly" />
                                                                                    </td>
                                                                                    <td align="left">
                                                                                       &nbsp;
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        &nbsp;
                                                                                    </td>
                                                                                </tr>

                                                                                <tr class="bttn">
                                                            <td height="20" class="outset-table" colspan="4">
                                                                <img src="../Images/ico_arrow.gif" width="16" height="12" border="0" alt="" />Supplier
                                                                input page
                                                            </td>
                                                        </tr>

                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        ECU HW Version No.
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="ECUHW" type="text" runat="server" />
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        ECU SW Version No.
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="ECUSW" type="text" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        Sampling Form
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="SamplingForm" type="text" runat="server" />
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        Sampling Type
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="SamplingType" type="text" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        Sampling Mode
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="SamplingMode" type="text" runat="server" />
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        BDNT Revision No
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="BNDTRevisionNo" type="text" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        BDNT Revision Status
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="BDNTRevisionStatus" type="text" runat="server" />
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        Delivered parts quantity</td>
                                                                                    <td align="left">
                                                                                        <input id="DeliveredPartsQ" type="text" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        Express Name
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="ModificationScope" type="text" runat="server" />
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        Express No
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="ExpressNo" type="text" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        Plant
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <input id="Plant" type="text" runat="server" />
                                                                                    </td>
                                                                                    <td align="left">
                                                                                     PPAP No
                                                                                    </td>
                                                                                    <td align="left">
                                                                                    <input id="PPAPNo" type="text" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr class="line-even">
                                                                                    <td>
                                                                                        Remarks/explanations
                                                                                    </td>
                                                                                    <td align="left" colspan="3">
                                                                                        <textarea id="Remarks" cols="20" rows="4" style="width: 98%; height: 100%; border: 1px solid #54A3F1;
                                                                                            background-color: #FFFFEE" runat="server" name="S1"></textarea>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div id="divFankui" runat="server" visible="false">
                                                        <table class="main-table1" border="0" width="95%" cellspacing="1" cellpadding="1"
                                                            align="right">
                                                            <tr class="bttn">
                                                                <td height="20" class="outset-table">
                                                                    <img src="../Images/ico_arrow.gif" width="16" height="12" border="0" alt="" />Test Result
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td nowrap="nowrap">
                                                                    <table id="Table12" cellspacing="1" cellpadding="1" width="100%" border="0">
                                                                        <tr>
                                                                            <td>
                                                                                <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" style="border-collapse: collapse;">
                                                                                    <tr class="line-even">
                                                                                        <td>
                                                                                            <textarea id="FanKuiYiJian" runat="server" cols="20" rows="4" style="width: 98%;
                                                                                                border: 1px solid #54A3F1; background-color: #FFFFEE" readonly="readonly"></textarea>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="line-even" style="display: none">
                                                                                        <td>
                                                                                            <input id="FanKuiRiQi" type="text" runat="server" disabled="disabled" />
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div id="qmfk" runat="server" visible="false">
                                                        <table class="main-table1" border="0" width="95%" cellspacing="1" cellpadding="1"
                                                            align="right">
                                                            <tr class="bttn">
                                                                <td height="20" class="outset-table">
                                                                    <img src="../Images/ico_arrow.gif" width="16" height="12" border="0" alt="" />Final Decision
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td nowrap="nowrap">
                                                                    <table id="Table1" cellspacing="1" cellpadding="1" width="100%" border="0">
                                                                        <tr>
                                                                            <td>
                                                                                <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" style="border-collapse: collapse;">
                                                                                    <tr class="line-even">
                                                                                        <td>
                                                                                            <textarea id="QMRemarks" runat="server" cols="20" rows="4" style="width: 98%; border: 1px solid #54A3F1;
                                                                                                background-color: #FFFFEE" readonly="readonly"></textarea>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr class="line-even" style="display: none">
                                                                                        <td>
                                                                                            <input id="Text1" type="text" runat="server" disabled="disabled" />
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div id="Div1" runat="server" visible="false">
                                                        <table class="main-table1" border="0" width="95%" cellspacing="1" cellpadding="1"
                                                            align="right">
                                                            <tr>
                                                                <td nowrap="nowrap">
                                                                    <table id="Table2" cellspacing="1" cellpadding="1" width="100%" border="0">
                                                                        <tr>
                                                                            <td>
                                                                                <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" style="border-collapse: collapse;">
                                                                                    <tr class="line-even">
                                                                                        <td>
                                                                                            <asp:Repeater ID="Repeater11" runat="server">
                                                                                                <ItemTemplate>
                                                                                                    <tr>
                                                                                                        <td align="left" valign="middle" style="width: 80%;">
                                                                                                            <font size='+1'>SampleReport:<a href='<%#Eval("F_Detail") %>' target="_blank"><%# Eval("F_Filename")%></a></font>&nbsp;&nbsp;&nbsp;&nbsp;
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </ItemTemplate>
                                                                                            </asp:Repeater>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <table class="main-table1" border="0" width="95%" cellspacing="1" cellpadding="1"
                                                        align="right">
                                                        <tr class="bttn" style="display: none">
                                                            <td height="20" class="outset-table">
                                                                <img src="../Images/ico_arrow.gif" width="16" height="12" border="0" alt="">Upload
                                                                attachment
                                                            </td>
                                                        </tr>
                                                        <tr style="display: none">
                                                            <td nowrap="nowrap">
                                                                <table id="Table11" cellspacing="1" cellpadding="1" width="100%" border="0">
                                                                    <tr>
                                                                        <td style="height: 50px;">
                                                                            <input id="uploadinput" runat="server" type="button" value="Upload" onclick="javascript:upload();" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                                            <input id="viewinput" runat="server" type="button" value="View attachment" onclick="javascript:view();" />
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <script type="text/javascript">
                            function upload() {//上传附件
                                var fjid = document.getElementById("fujianID").value;
                                window.showModalDialog("UploadFilesQY.aspx?FuJianID=" + fjid, "", "dialogWidth:850px;dialogHeight:550px;center:yes;status:no;scroll:yes;help:no;titlebar:no;");
                            }
                            function view() {//查看附件
                                var fjid = document.getElementById("fujianID").value;
                                window.showModalDialog("FilesListQY.aspx?FuJianID=" + fjid, "", "dialogWidth:850px;dialogHeight:550px;center:yes;status:no;scroll:yes;help:no;titlebar:no;");

                            }

                            function setTab03Syn(i) {
                                selectTab03Syn(i);
                            }

                            function selectTab03Syn(i) {
                                switch (i) {
                                    case 1:
                                        document.getElementById("TabTab03Con1").style.display = "block";
                                        document.getElementById("TabTab03Con2").style.display = "none";
                                        document.getElementById("font1").style.color = "black";
                                        document.getElementById("font2").style.color = "blue";
                                        document.getElementById("font1").style.fontWeight = "100";
                                        document.getElementById("font2").style.fontWeight = "bolder";
                                        break;
                                    case 2:
                                        document.getElementById("TabTab03Con1").style.display = "none";
                                        document.getElementById("TabTab03Con2").style.display = "block";
                                        document.getElementById("font1").style.color = "blue";
                                        document.getElementById("font2").style.color = "black";
                                        document.getElementById("font2").style.fontWeight = "100";
                                        document.getElementById("font1").style.fontWeight = "bolder";
                                        break;
                                }
                            }
                        </script>
                        <!--信息页结束-->
                        <!--附件页-->
                        <div style="display:none" id="TabTab03Con2">
                            <%--<%#Container.ItemIndex+1 %>--%>
                            <hr />
                                <table class="main-table1" border="0" width="100%" cellspacing="1" cellpadding="1"
                                align="center">
                                            <tr>
                                                <td style="width: 70%; font-size: 13px; font-family: 微软雅黑" align="left">
                                                    1_PPAP_4th_Drawing
                                                </td>
                                                <td colspan="2">
                                                    <asp:FileUpload runat="server" ID="FileUpload1" />
                                                    <asp:Button ID="Button1" runat="server" Text="Upload" OnClick="Button1_Click" />
                                                </td>
                                            </tr>
                                            <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td align="left" valign="middle" >
                                                            <%#Container.ItemIndex+1 %>:<a href='<%#Eval("F_URL") %>' target="_blank"><span style="color: Blue;"><%# Eval("F_Filename")%></span></a></td>
                                                        <td>
                                                           UpLoadDate:<%#Eval("UpTime")%></td>
                                                        <td>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnInit="lbtnDelete_Init" CommandArgument='<%#Eval("F_ID")%>'
                                                                CommandName="delete"><img src="../../images/delete.png" alt="" /></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblEmptyZP" ForeColor="Red" Text="No Attachment......." runat="server" Visible='<%#bool.Parse((Repeater1.Items.Count==0).ToString())%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <tr>
                                                <td style="width: 30%; font-size: 13px; font-family: 微软雅黑" align="left">
                                                    2_PPAP_4th_Engineering Change Document
                                                </td>
                                                <td colspan="2">
                                                    <asp:FileUpload runat="server" ID="FileUpload2" />
                                                    <asp:Button ID="Button2" runat="server" Text="Upload" OnClick="Button2_Click" />
                                                </td>
                                            </tr>
                                            <asp:Repeater ID="Repeater2" runat="server" OnItemCommand="Repeater2_ItemCommand">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td align="left" valign="middle" style="width: 40%;">
                                                            <%#Container.ItemIndex+1 %>:<a href='<%#Eval("F_URL") %>' target="_blank"><span style="color: Blue;"><%# Eval("F_Filename")%></span></a>&nbsp;&nbsp;&nbsp;&nbsp;
                                                        </td>
                                                        <td>
                                                           UpLoadDate:<%#Eval("UpTime")%></td>
                                                        <td>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnInit="lbtnDelete_Init" CommandArgument='<%#Eval("F_ID")%>'
                                                                CommandName="delete"><img src="../../images/delete.png" alt="" /></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblEmptyZP" ForeColor="Red" Text="No attachment......." runat="server" Visible='<%#bool.Parse((Repeater2.Items.Count==0).ToString())%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <tr>
                                                <td style="width: 30%; font-size: 13px; font-family: 微软雅黑" align="left">
                                                    3_PPAP_4th_Customer Engineering Approval
                                                </td><td colspan="2">
                                                    <asp:FileUpload runat="server" ID="FileUpload3" />
                                                    <asp:Button ID="Button3" runat="server" Text="Upload" OnClick="Button3_Click" />
                                                </td>
                                            </tr>
                                            <asp:Repeater ID="Repeater3" runat="server" OnItemCommand="Repeater3_ItemCommand">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td align="left" valign="middle" style="width: 40%;">
                                                            <%#Container.ItemIndex+1 %>:<a href='<%#Eval("F_URL") %>' target="_blank"><span style="color: Blue;"><%# Eval("F_Filename")%></span></a>&nbsp;&nbsp;&nbsp;&nbsp;
                                                        </td>
                                                        <td>
                                                           UpLoadDate:<%#Eval("UpTime")%></td>
                                                        <td>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnInit="lbtnDelete_Init" CommandArgument='<%#Eval("F_ID")%>'
                                                                CommandName="delete"><img src="../../images/delete.png" alt="" /></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblEmptyZP" ForeColor="Red" Text="No attachment......." runat="server" Visible='<%#bool.Parse((Repeater3.Items.Count==0).ToString())%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <tr>
                                                <td style="width: 30%; font-size: 13px; font-family: 微软雅黑" align="left">
                                                   4_PPAP_4th_Design FMEA
                                                </td><td colspan="2">
                                                    <asp:FileUpload runat="server" ID="FileUpload4" />
                                                    <asp:Button ID="Button4" runat="server" Text="Upload" OnClick="Button4_Click" />
                                                </td>
                                            </tr>
                                            <asp:Repeater ID="Repeater4" runat="server" OnItemCommand="Repeater4_ItemCommand">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td align="left" valign="middle" style="width: 40%;">
                                                            <%#Container.ItemIndex+1 %>:<a href='<%#Eval("F_URL") %>' target="_blank"><span style="color: Blue;"><%# Eval("F_Filename")%></span></a>&nbsp;&nbsp;&nbsp;&nbsp;
                                                        </td>
                                                        <td>
                                                           UpLoadDate:<%#Eval("UpTime")%></td>
                                                        <td>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnInit="lbtnDelete_Init" CommandArgument='<%#Eval("F_ID")%>'
                                                                CommandName="delete"><img src="../../images/delete.png" alt="" /></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblEmptyZP" ForeColor="Red" Text="No attachment......." runat="server" Visible='<%#bool.Parse((Repeater4.Items.Count==0).ToString())%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <tr>
                                                <td style="width: 30%; font-size: 13px; font-family: 微软雅黑" align="left">
                                                    5_PPAP_4th_Process Flow Diagram
                                                </td><td colspan="2">
                                                    <asp:FileUpload runat="server" ID="FileUpload5" />
                                                    <asp:Button ID="Button5" runat="server" Text="Upload" OnClick="Button5_Click" />
                                                </td>
                                            </tr>
                                            <asp:Repeater ID="Repeater5" runat="server" OnItemCommand="Repeater5_ItemCommand">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td align="left" valign="middle" style="width: 40%;">
                                                            <%#Container.ItemIndex+1 %>:<a href='<%#Eval("F_URL") %>' target="_blank"><span style="color: Blue;"><%# Eval("F_Filename")%></span></a>&nbsp;&nbsp;&nbsp;&nbsp;
                                                        </td>
                                                        <td>
                                                           UpLoadDate:<%#Eval("UpTime")%></td>
                                                        <td>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnInit="lbtnDelete_Init" CommandArgument='<%#Eval("F_ID")%>'
                                                                CommandName="delete"><img src="../../images/delete.png" alt="" /></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblEmptyZP" ForeColor="Red" Text="No attachment......." runat="server" Visible='<%#bool.Parse((Repeater5.Items.Count==0).ToString())%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <tr>
                                                <td style="width: 30%; font-size: 13px; font-family: 微软雅黑" align="left">
                                                    6_PPAP_4th_Process FMEA
                                                </td><td colspan="2">
                                                    <asp:FileUpload runat="server" ID="FileUpload6" />
                                                    <asp:Button ID="Button6" runat="server" Text="Upload" OnClick="Button6_Click" />
                                                </td>
                                            </tr>
                                            <asp:Repeater ID="Repeater6" runat="server" OnItemCommand="Repeater6_ItemCommand">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td align="left" valign="middle" style="width: 40%;">
                                                            <%#Container.ItemIndex+1 %>:<a href='<%#Eval("F_URL") %>' target="_blank"><span style="color: Blue;"><%# Eval("F_Filename")%></span></a>&nbsp;&nbsp;&nbsp;&nbsp;
                                                        </td>
                                                        <td>
                                                           UpLoadDate:<%#Eval("UpTime")%></td>
                                                        <td>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnInit="lbtnDelete_Init" CommandArgument='<%#Eval("F_ID")%>'
                                                                CommandName="delete"><img src="../../images/delete.png" alt="" /></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblEmptyZP" ForeColor="Red" Text="No attachment......." runat="server" Visible='<%#bool.Parse((Repeater6.Items.Count==0).ToString())%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <tr>
                                                <td style="width: 30%; font-size: 13px; font-family: 微软雅黑" align="left">
                                                    7_PPAP_4th_Control Plan
                                                </td><td colspan="2">
                                                    <asp:FileUpload runat="server" ID="FileUpload7" />
                                                    <asp:Button ID="Button7" runat="server" Text="Upload" OnClick="Button7_Click" />
                                                </td>
                                            </tr>
                                            <asp:Repeater ID="Repeater7" runat="server" OnItemCommand="Repeater7_ItemCommand">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td align="left" valign="middle" style="width: 40%;">
                                                            <%#Container.ItemIndex+1 %>:<a href='<%#Eval("F_URL") %>' target="_blank"><span style="color: Blue;"><%# Eval("F_Filename")%></span></a>&nbsp;&nbsp;&nbsp;&nbsp;
                                                        </td>
                                                        <td>
                                                           UpLoadDate:<%#Eval("UpTime")%></td>
                                                        <td>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnInit="lbtnDelete_Init" CommandArgument='<%#Eval("F_ID")%>'
                                                                CommandName="delete"><img src="../../images/delete.png" alt="" /></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblEmptyZP" ForeColor="Red" Text="No attachment......." runat="server" Visible='<%#bool.Parse((Repeater7.Items.Count==0).ToString())%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <tr>
                                                <td style="width: 30%; font-size: 13px; font-family: 微软雅黑" align="left">
                                                    8_PPAP_4th_Measurement System Analysis
                                                </td><td colspan="2">
                                                    <asp:FileUpload runat="server" ID="FileUpload8" />
                                                    <asp:Button ID="Button8" runat="server" Text="Upload" OnClick="Button8_Click" />
                                                </td>
                                            </tr>
                                            <asp:Repeater ID="Repeater8" runat="server" OnItemCommand="Repeater8_ItemCommand">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td align="left" valign="middle" style="width: 40%;">
                                                            <%#Container.ItemIndex+1 %>:<a href='<%#Eval("F_URL") %>' target="_blank"><span style="color: Blue;"><%# Eval("F_Filename")%></span></a>&nbsp;&nbsp;&nbsp;&nbsp;
                                                        </td>
                                                        <td>
                                                           UpLoadDate:<%#Eval("UpTime")%></td>
                                                        <td>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnInit="lbtnDelete_Init" CommandArgument='<%#Eval("F_ID")%>'
                                                                CommandName="delete"><img src="../../images/delete.png" alt="" /></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblEmptyZP" ForeColor="Red" Text="No attachment......." runat="server" Visible='<%#bool.Parse((Repeater8.Items.Count==0).ToString())%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <tr>
                                                <td style="width: 30%; font-size: 13px; font-family: 微软雅黑" align="left">
                                                    9_PPAP_4th_Dimensional Results
                                                </td><td colspan="2">
                                                    <asp:FileUpload runat="server" ID="FileUpload9" />
                                                    <asp:Button ID="Button9" runat="server" Text="Upload" OnClick="Button9_Click" />
                                                </td>
                                            </tr>
                                            <asp:Repeater ID="Repeater9" runat="server" OnItemCommand="Repeater9_ItemCommand">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td align="left" valign="middle" style="width: 40%;">
                                                            <%#Container.ItemIndex+1 %>:<a href='<%#Eval("F_URL") %>' target="_blank"><span style="color: Blue;"><%# Eval("F_Filename")%></span></a>&nbsp;&nbsp;&nbsp;&nbsp;
                                                        </td>
                                                        <td>
                                                           UpLoadDate:<%#Eval("UpTime")%></td>
                                                        <td>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnInit="lbtnDelete_Init" CommandArgument='<%#Eval("F_ID")%>'
                                                                CommandName="delete"><img src="../../images/delete.png" alt="" /></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblEmptyZP" ForeColor="Red" Text="No attachment......." runat="server" Visible='<%#bool.Parse((Repeater9.Items.Count==0).ToString())%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <tr>
                                                <td style="width: 30%; font-size: 13px; font-family: 微软雅黑" align="left">
                                                    10_PPAP_4th_Material Test Performance Reports
                                                </td><td colspan="2">
                                                    <asp:FileUpload runat="server" ID="FileUpload10" />
                                                    <asp:Button ID="Button10" runat="server" Text="Upload" OnClick="Button10_Click" />
                                                </td>
                                            </tr>
                                            <asp:Repeater ID="Repeater10" runat="server" OnItemCommand="Repeater10_ItemCommand">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td align="left" valign="middle" style="width: 40%;">
                                                            <%#Container.ItemIndex+1 %>:<a href='<%#Eval("F_URL") %>' target="_blank"><span style="color: Blue;"><%# Eval("F_Filename")%></span></a>&nbsp;&nbsp;&nbsp;&nbsp;
                                                        </td>
                                                        <td>
                                                           UpLoadDate:<%#Eval("UpTime")%></td>
                                                        <td>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnInit="lbtnDelete_Init" CommandArgument='<%#Eval("F_ID")%>'
                                                                CommandName="delete"><img src="../../images/delete.png" alt="" /></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="lblEmptyZP" ForeColor="Red" Text="No attachment......." runat="server" Visible='<%#bool.Parse((Repeater10.Items.Count==0).ToString())%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </table>
                                <script language="javascript" type="text/javascript">
                                    function closeWindow() { window.open('', '_parent', ''); window.close(); }       
                                </script>
                            <asp:HiddenField ID="GufjID" runat="server" />
                        </div>
                        <!--附件页结束-->
                        <table width="100%">
                        <tr align="center">
                                                <td colspan="3">
                                                    <asp:Button CssClass="za" runat="server" Text="Submit" ID="BtnSaveClose" 
                                                        OnClick="BtnSaveClose_Click" Style="border: none; background: url(../images/return.gif) no-repeat scroll 0 0;
                                                        width: 116px; height: 39px; color: white; cursor: pointer; text-align: center;"  />
                                                    <asp:Button CssClass="za" runat="server" Text="Save" ID="BtnSaveTemp" 
                                                        OnClick="BtnSaveTemp_Click" Style="border: none; background: url(../images/return.gif) no-repeat scroll 0 0;
                                                        width: 116px; height: 39px; color: white; cursor: pointer; text-align: center;" />
                                                </td>
                                            </tr>
                        </table>
                    </div>
                </div>
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
